Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct a coercion bug in capture manager #1139

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

blt
Copy link
Collaborator

@blt blt commented Dec 10, 2024

What does this PR do?

This commit corrects a bug whereby the capture manager did not coerce the
u64 values up from the registry storage into their f64 representation, meaning
we reported out to captures comically huge values.

Much obliged to @tobz who spotted the bug.

@blt blt mentioned this pull request Dec 10, 2024
@blt blt added the no-changelog label Dec 10, 2024 — with Graphite App
@blt blt marked this pull request as ready for review December 10, 2024 18:40
@blt blt requested a review from a team as a code owner December 10, 2024 18:40
@blt blt force-pushed the blt/correct_a_coercion_bug_in_capture_manager branch 2 times, most recently from 9e64967 to 324a605 Compare December 11, 2024 01:11
@blt blt changed the base branch from blt/avoid_potential_overflows to graphite-base/1139 December 11, 2024 01:46
@blt blt force-pushed the graphite-base/1139 branch from a01e841 to b2d5858 Compare December 11, 2024 01:46
@blt blt force-pushed the blt/correct_a_coercion_bug_in_capture_manager branch from 324a605 to 91744a0 Compare December 11, 2024 01:46
@blt blt changed the base branch from graphite-base/1139 to main December 11, 2024 01:46
@blt blt force-pushed the blt/correct_a_coercion_bug_in_capture_manager branch from 91744a0 to 4048edf Compare December 11, 2024 01:46
This commit corrects a bug whereby the capture manager did not coerce the
u64 values up from the registry storage into their f64 representation, meaning
we reported out to captures comically huge values.

Much obliged to @tobz who spotted the bug.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
@blt blt force-pushed the blt/correct_a_coercion_bug_in_capture_manager branch from 4048edf to ef5f4e1 Compare December 11, 2024 01:58
@blt blt merged commit e86da2c into main Dec 11, 2024
19 checks passed
Copy link
Collaborator Author

blt commented Dec 11, 2024

Merge activity

  • Dec 10, 9:29 PM EST: A user merged this pull request with Graphite.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants